<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>经销商收益</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="飞啊飘啊">
	<meta name="hashcode" content="-1487670819">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/manage/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/manage/js/jquery-1.7.1.min.js"></script>

	<script type="text/javascript" src="/manage/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/manage//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/manage/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/manage/css/define.css"/>
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-1487670819";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/manage/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/manage/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("jxshincome.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		THIS.setData(protocol.data);
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>
<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#jxshincomeForm").form({
		"":function(){}
		,"tbJxshIncome.tbjiId":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"tbJxshIncome.tbjiJxsh":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"tbJxshIncome.tbjiOrderId":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "订单编号不能为空";
			}
				if(el.value.length>10)
					return "数字太大了";
					 var pattern = /^-?(0|[1-9][0-9]*)?$/;
					 if(!pattern.test(el.value))
						return "请输入正确格式的数字";			
		}
		,"tbJxshIncome.tbjiJxsName":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "经销商名称最大长度为32个字符";
		}
		,"tbJxshIncome.tbjiOrderTime":function(el){
		}
		,"tbJxshIncome.tbjiMember":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "下单人最大长度为32个字符";
		}
		,"tbJxshIncome.tbjiDistributor":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "配送商最大长度为32个字符";
		}
		,"tbJxshIncome.tbjiType":function(el){
		}
		,"tbJxshIncome.tbjiOrderDetails":function(el){
		}
		,"tbJxshIncome.tbjiMoney":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "收益金额输入格式错误";
		}
		,"tbJxshIncome.tbjiTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "获得时间不能为空";
			}
		}
		,"tbJxshIncome.tbjiMerchant":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>

<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>



<form lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'}}" class="form editform edittype_{{edittype}}" ref="TbJxshIncome" id="jxshincomeForm" name="jxshincomeForm" target="jsoniframe" action="jxshincome.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写经销商收益相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
	{{lz.set("tbjiId_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiId"))))}}
	{{lz.set("tbjiId_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiId}}
	<dl lz:if="{{tbjiId_editable||tbjiId_readonly}}" class="tbjiId hidden " major  ref="tbjiId">
		<dt>编　　号:</dt>
		<dd lz:if="{{tbjiId_editable}}" input="hidden">
			<lz:block lz:if="{{tbJxshIncome$tbjiId}}">
				{{tbJxshIncome$tbjiId}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiId}}">
			<input type="hidden" value="{{lz.htm(tbJxshIncome.tbjiId)}}" name="tbJxshIncome.tbjiId" id="tbjiId" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiId_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiId">{{tbJxshIncome.tbjiId}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiId$||tbJxshIncome.tbjiId)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiId}}
	{{lz.set("tbjiJxsh_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiJxsh"))))}}
	{{lz.set("tbjiJxsh_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiJxsh}}
	<dl lz:if="{{tbjiJxsh_editable||tbjiJxsh_readonly}}" class="tbjiJxsh  " major  ref="tbjiJxsh">
		<dt>经 销 商:</dt>
		<dd lz:if="{{tbjiJxsh_editable}}" input="query">
			<lz:block lz:if="{{tbJxshIncome$tbjiJxsh}}">
				{{tbJxshIncome$tbjiJxsh}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiJxsh}}">
		 			<input title="请输入经销商经销商名称进行查询" class="combox narrow" action="/manage/query.TbJxsh.do?value={param}" type="text" id="tbjiJxsh" name="tbJxshIncome.tbjiJxsh" text="{{lz.html(tbJxshIncome.tbjiJxsh$||tbJxshIncome.tbjiJxsh)}}" value="{{lz.htm(tbJxshIncome.tbjiJxsh)}}" />
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiJxsh_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiJxsh">{{tbJxshIncome.tbjiJxsh}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiJxsh$||tbJxshIncome.tbjiJxsh)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiJxsh}}
	{{lz.set("tbjiOrderId_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiOrderId"))))}}
	{{lz.set("tbjiOrderId_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiOrderId}}
	<dl lz:if="{{tbjiOrderId_editable||tbjiOrderId_readonly}}" class="tbjiOrderId  " major  ref="tbjiOrderId">
		<dt>订单编号:</dt>
		<dd lz:if="{{tbjiOrderId_editable}}" input="number">
			<lz:block lz:if="{{tbJxshIncome$tbjiOrderId}}">
				{{tbJxshIncome$tbjiOrderId}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiOrderId}}">
			<input onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="tbJxshIncome.tbjiOrderId" id="tbjiOrderId"  value="{{lz.htm(tbJxshIncome.tbjiOrderId)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入经销商收益的订单编号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiOrderId_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiOrderId">{{tbJxshIncome.tbjiOrderId}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiOrderId$||tbJxshIncome.tbjiOrderId)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiOrderId}}
	{{lz.set("tbjiJxsName_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiJxsName"))))}}
	{{lz.set("tbjiJxsName_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiJxsName}}
	<dl lz:if="{{tbjiJxsName_editable||tbjiJxsName_readonly}}" class="ribs tbjiJxsName  " major  ref="tbjiJxsName">
		<dt>经销商名称:</dt>
		<dd lz:if="{{tbjiJxsName_editable}}" input="text">
			<lz:block lz:if="{{tbJxshIncome$tbjiJxsName}}">
				{{tbJxshIncome$tbjiJxsName}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiJxsName}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="tbJxshIncome.tbjiJxsName" id="tbjiJxsName"  value="{{lz.htm(tbJxshIncome.tbjiJxsName)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入经销商收益的经销商名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiJxsName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiJxsName">{{tbJxshIncome.tbjiJxsName}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiJxsName$||tbJxshIncome.tbjiJxsName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiJxsName}}
	{{lz.set("tbjiOrderTime_editable",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='any'&&(lz.idin(fields,"tbjiOrderTime"))))}}
	{{lz.set("tbjiOrderTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&true)||(edittype=='detail'))}}
	
	{{before$tbjiOrderTime}}
	<dl lz:if="{{tbjiOrderTime_editable||tbjiOrderTime_readonly}}" class="tbjiOrderTime  " major  ref="tbjiOrderTime">
		<dt>订单时间:</dt>
		<dd lz:if="{{tbjiOrderTime_editable}}" input="datetime">
			<lz:block lz:if="{{tbJxshIncome$tbjiOrderTime}}">
				{{tbJxshIncome$tbjiOrderTime}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiOrderTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="tbJxshIncome.tbjiOrderTime" id="tbjiOrderTime"  value="{{tbJxshIncome.tbjiOrderTime$}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请选择经销商收益的订单时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiOrderTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiOrderTime">{{tbJxshIncome.tbjiOrderTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiOrderTime$||tbJxshIncome.tbjiOrderTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiOrderTime}}
	{{lz.set("tbjiMember_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiMember"))))}}
	{{lz.set("tbjiMember_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiMember}}
	<dl lz:if="{{tbjiMember_editable||tbjiMember_readonly}}" class="ribs tbjiMember  " major  ref="tbjiMember">
		<dt>下 单 人:</dt>
		<dd lz:if="{{tbjiMember_editable}}" input="text">
			<lz:block lz:if="{{tbJxshIncome$tbjiMember}}">
				{{tbJxshIncome$tbjiMember}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiMember}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="tbJxshIncome.tbjiMember" id="tbjiMember"  value="{{lz.htm(tbJxshIncome.tbjiMember)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入经销商收益的下单人</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiMember_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiMember">{{tbJxshIncome.tbjiMember}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiMember$||tbJxshIncome.tbjiMember)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiMember}}
	{{lz.set("tbjiDistributor_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiDistributor"))))}}
	{{lz.set("tbjiDistributor_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiDistributor}}
	<dl lz:if="{{tbjiDistributor_editable||tbjiDistributor_readonly}}" class="ribs tbjiDistributor  " major  ref="tbjiDistributor">
		<dt>配 送 商:</dt>
		<dd lz:if="{{tbjiDistributor_editable}}" input="text">
			<lz:block lz:if="{{tbJxshIncome$tbjiDistributor}}">
				{{tbJxshIncome$tbjiDistributor}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiDistributor}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="tbJxshIncome.tbjiDistributor" id="tbjiDistributor"  value="{{lz.htm(tbJxshIncome.tbjiDistributor)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入经销商收益的配送商</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiDistributor_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiDistributor">{{tbJxshIncome.tbjiDistributor}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiDistributor$||tbJxshIncome.tbjiDistributor)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiDistributor}}
	{{lz.set("tbjiType_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiType"))))}}
	{{lz.set("tbjiType_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiType}}
	<dl lz:if="{{tbjiType_editable||tbjiType_readonly}}" class="ribs tbjiType  " major  ref="tbjiType">
		<dt>订单类别:</dt>
		<dd lz:if="{{tbjiType_editable}}" input="select">
			<lz:block lz:if="{{tbJxshIncome$tbjiType}}">
				{{tbJxshIncome$tbjiType}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiType}}">
		 	<select class="narrow" id="tbjiType" name="tbJxshIncome.tbjiType">
		 		<option value="">请选择</option>
				<option value="1" selected='{{tbJxshIncome.tbjiType=="1"?"selected":""}}'>直接购买订单</option>
				<option value="2" selected='{{tbJxshIncome.tbjiType=="2"?"selected":""}}'>余额提货订单</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择经销商收益的订单类别</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiType_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiType">{{tbJxshIncome.tbjiType}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiType$||tbJxshIncome.tbjiType)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiType}}
	{{lz.set("tbjiOrderDetails_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiOrderDetails"))))}}
	{{lz.set("tbjiOrderDetails_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiOrderDetails}}
	<dl lz:if="{{tbjiOrderDetails_editable||tbjiOrderDetails_readonly}}" class="ribs tbjiOrderDetails   wider" minor  ref="tbjiOrderDetails">
		<dt>订单明细:</dt>
		<dd lz:if="{{tbjiOrderDetails_editable}}" input="grid">
			<lz:block lz:if="{{tbJxshIncome$tbjiOrderDetails}}">
				{{tbJxshIncome$tbjiOrderDetails}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiOrderDetails}}">
		    <textarea class="input wide grid" grid="[
		    	['商品编号',null,'query','goodsNumber','/manage/query.Commodity.do']
		    	,['商品名称',null,'text','name','']
		    	,['商品价格',null,'menoy','price','']
		    	,['数量',null,'number','number','']
		    	,['状态',null,'select','status',[{'text':'正常','value':'1'},{'text':'无效','value':'0'}]]
		    ]" id="tbjiOrderDetails" name="tbJxshIncome.tbjiOrderDetails">{{tbJxshIncome.tbjiOrderDetails}}</textarea> 
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiOrderDetails_readonly}}">
		 	<div class=" wide">
		 		<textarea class=""  style="display:none;" id="tbjiOrderDetails">{{tbJxshIncome.tbjiOrderDetails}}</textarea>
		 		<span>
			<textarea class="input wide grid" grid="[
		    	['商品编号',null,'query','goodsNumber','/manage/query.Commodity.do']
		    	,['商品名称',null,'text','name','']
		    	,['商品价格',null,'menoy','price','']
		    	,['数量',null,'number','number','']
		    	,['状态',null,'select','status',[{'text':'正常','value':'1'},{'text':'无效','value':'0'}]]
		    ]" readonly>{{tbJxshIncome.tbjiOrderDetails}}</textarea>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiOrderDetails}}
	{{lz.set("tbjiMoney_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"tbjiMoney"))))}}
	{{lz.set("tbjiMoney_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$tbjiMoney}}
	<dl lz:if="{{tbjiMoney_editable||tbjiMoney_readonly}}" class="tbjiMoney  " major  ref="tbjiMoney">
		<dt>收益金额:</dt>
		<dd lz:if="{{tbjiMoney_editable}}" input="menoy">
			<lz:block lz:if="{{tbJxshIncome$tbjiMoney}}">
				{{tbJxshIncome$tbjiMoney}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiMoney}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="tbJxshIncome.tbjiMoney" id="tbjiMoney"  value="{{lz.htm(tbJxshIncome.tbjiMoney)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入经销商收益的收益金额</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiMoney_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiMoney">{{tbJxshIncome.tbjiMoney}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiMoney$||tbJxshIncome.tbjiMoney)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiMoney}}
	{{lz.set("tbjiTime_editable",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='any'&&(lz.idin(fields,"tbjiTime"))))}}
	{{lz.set("tbjiTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&true)||(edittype=='detail'))}}
	
	{{before$tbjiTime}}
	<dl lz:if="{{tbjiTime_editable||tbjiTime_readonly}}" class="tbjiTime  " major  ref="tbjiTime">
		<dt>获得时间:</dt>
		<dd lz:if="{{tbjiTime_editable}}" input="datetime">
			<lz:block lz:if="{{tbJxshIncome$tbjiTime}}">
				{{tbJxshIncome$tbjiTime}}
			</lz:block>
			<lz:block lz:if="{{!tbJxshIncome$tbjiTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="tbJxshIncome.tbjiTime" id="tbjiTime"  value="{{tbJxshIncome.tbjiTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择经销商收益的获得时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{tbjiTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="tbjiTime">{{tbJxshIncome.tbjiTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(tbJxshIncome.tbjiTime$||tbJxshIncome.tbjiTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$tbjiTime}}
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{tbJxshIncome.tbjiId}}" name="tbJxshIncome.tbjiId" id="tbjiId" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'}}">
				<button class="button" type="submit">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>


 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>

</script>
</html>